import httpInstace from "@/utils/http";
export const getBannerApi = (params = {}) => {
  //默认为1 首页轮播图 商品为2 商品轮播图 根据传的参数不同返回的数据不同
  const { distributionSite = "1" } = params;
  return httpInstace({
    url: "home/banner",
    params: {
      distributionSite,
    },
  });
};
